package cn.openread.es;

import org.springframework.data.elasticsearch.repository.ReactiveElasticsearchRepository;
import reactor.core.publisher.Flux;

/**
 * 用途：一切为了业务
 * <p>
 * Created by simon on 2020/3/7.
 */
public interface ItemRepository extends ReactiveElasticsearchRepository<Item, Long> {
    Flux<Item> findAllByNameContains(String name);
}
